/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "大数据生产表",TableName = "big_data_production")]
    public partial class big_data_production:BaseEntity
    {
        /// <summary>
       ///mes生产表id
       /// </summary>
       [Key]
       [Display(Name ="mes生产表id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid big_data_production_id { get; set; }

       /// <summary>
       ///车辆VIN
       /// </summary>
       [Display(Name ="车辆VIN")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string vin { get; set; }

       /// <summary>
       ///焊装上线时间
       /// </summary>
       [Display(Name ="焊装上线时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? welding_online_time { get; set; }

       /// <summary>
       ///焊装上线操作人
       /// </summary>
       [Display(Name ="焊装上线操作人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string welding_online_operator { get; set; }

       /// <summary>
       ///焊装下线时间
       /// </summary>
       [Display(Name ="焊装下线时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? welding_downline_time { get; set; }

       /// <summary>
       ///焊装下线操作人
       /// </summary>
       [Display(Name ="焊装下线操作人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string welding_downline_operator { get; set; }

       /// <summary>
       ///涂装上线时间
       /// </summary>
       [Display(Name ="涂装上线时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? coating_online_time { get; set; }

       /// <summary>
       ///涂装上线操作人
       /// </summary>
       [Display(Name ="涂装上线操作人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string coating_online_operator { get; set; }

       /// <summary>
       ///涂装下线时间
       /// </summary>
       [Display(Name ="涂装下线时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? coating_downline_time { get; set; }

       /// <summary>
       ///涂装下线操作人
       /// </summary>
       [Display(Name ="涂装下线操作人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string coating_downline_operator { get; set; }

       /// <summary>
       ///总装上线时间
       /// </summary>
       [Display(Name ="总装上线时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? finaling_online_time { get; set; }

       /// <summary>
       ///总装上线操作人
       /// </summary>
       [Display(Name ="总装上线操作人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string finaling_online_operator { get; set; }

       /// <summary>
       ///总装下线时间
       /// </summary>
       [Display(Name ="总装下线时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? finaling_downline_time { get; set; }

       /// <summary>
       ///总装下线操作人
       /// </summary>
       [Display(Name ="总装下线操作人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string finaling_downline_operator { get; set; }

       /// <summary>
       ///入库时间
       /// </summary>
       [Display(Name ="入库时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? in_stock_date { get; set; }

       /// <summary>
       ///入库操作人
       /// </summary>
       [Display(Name ="入库操作人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string in_stock_operator { get; set; }

       /// <summary>
       ///焊装生产车间名称
       /// </summary>
       [Display(Name ="焊装生产车间名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string welding_product_plant_name { get; set; }

       /// <summary>
       ///焊装线名称
       /// </summary>
       [Display(Name ="焊装线名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string welding_product_name { get; set; }

       /// <summary>
       ///涂装生产车间名称
       /// </summary>
       [Display(Name ="涂装生产车间名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string coating_product_plant_name { get; set; }

       /// <summary>
       ///涂装线名称
       /// </summary>
       [Display(Name ="涂装线名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string coating_product_line_name { get; set; }

       /// <summary>
       ///总装生产车间名称
       /// </summary>
       [Display(Name ="总装生产车间名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string finaling_product_plant_name { get; set; }

       /// <summary>
       ///总装线名称
       /// </summary>
       [Display(Name ="总装线名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string finaling_product_line_name { get; set; }

       /// <summary>
       ///车身编码
       /// </summary>
       [Display(Name ="车身编码")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string body_code { get; set; }

       /// <summary>
       ///焊装车身编码
       /// </summary>
       [Display(Name ="焊装车身编码")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string welding_body_code { get; set; }

       /// <summary>
       ///涂装车身编码
       /// </summary>
       [Display(Name ="涂装车身编码")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string coating_body_code { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///推送状态，0:未推送，1:已推送
       /// </summary>
       [Display(Name ="推送状态，0:未推送，1:已推送")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int status { get; set; }

       /// <summary>
       ///生产订单号
       /// </summary>
       [Display(Name ="生产订单号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string produceorder { get; set; }

       /// <summary>
       ///合格证打印日期
       /// </summary>
       [Display(Name ="合格证打印日期")]
       [Column(TypeName="datetime")]
       public DateTime? qc_date { get; set; }

       
    }
}